package cn.itsource.petHome.basic.service;




import cn.itsource.petHome.basic.query.BaseQuery;
import cn.itsource.petHome.utils.PageResult;

import java.util.List;

public interface IBaseService<T> {
    List<T> loadAll();

    PageResult<T> queryByPage(BaseQuery q);

    void delete(Long id);

    void save(T s);

    void update(T s);

    void batchDelete(Long[] ids);
}
